package com.github.shiqiyue.blog.markdown.config.session;

import lombok.Data;

/***
 * session配置信息
 * 
 * @author wwy
 *
 */
@Data
public class SessionConfig {
	/***
	 * cookie名称
	 */
	private String cookieName = "SESSION";
	
	/***
	 * 会员信息-session属性名称
	 */
	private String userDetailsSessionName = "SESSION_USER_DETAILS";
	
	/***
	 * cookie存活时间
	 */
	private Integer maxAge = -1;
	
	/***
	 * rememberMe 请求参数
	 */
	private String rememberMeRequestAttribute = "rememberMe";
	
	/****
	 * 是否启用rememberMe
	 */
	private boolean rememberMeEnable = false;
	
}
